/*
 * Copyright (c) 2024 Black Sesame Technologies
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "dal/allocator.h"
#include "dal/service.h"

dal_service_t* dal_domain_participant_create_service(dal_domain_participant_t* participant,
                                                     const char* service_name,
                                                     const char* request_reader_type_name,
                                                     const char* response_writer_type_name,
                                                     dal_datareader_qos_t* request_reader_qos,
                                                     dal_datawriter_qos_t* response_writer_qos)
{
    return nullptr;
}

dal_service_t*
dal_domain_participant_create_service_with_profile(dal_domain_participant_t* participant,
                                                   const char* service_name,
                                                   const char* request_reader_type_name,
                                                   const char* response_writer_type_name,
                                                   dal_datareader_qos_t* request_reader_qos,
                                                   dal_datawriter_qos_t* response_writer_qos,
                                                   const char* request_reader_profile_name,
                                                   const char* response_writer_profile_name)
{
    return nullptr;
}

dal_ret_t dal_domain_participant_delete_service(dal_domain_participant_t* participant,
                                                dal_service_t* service)
{
    return DAL_RETCODE_UNSUPPORTED;
}

dal_ret_t dal_service_take_request(dal_service_t* service,
                                   dal_service_info_t* request_header,
                                   void* request,
                                   bool* taken)
{
    return DAL_RETCODE_UNSUPPORTED;
}
dal_ret_t
dal_service_send_response(dal_service_t* service, dal_request_id_t* request_header, void* response)
{
    return DAL_RETCODE_UNSUPPORTED;
}